package com.link.base.base.cachemanager.service;

import com.link.base.base.cachemanager.model.CacheManager;
import com.link.core.basic.service.BasicService;

/**
 * 缓存器管理-缓存器管理 
 *
 * @author 秦学刚
 * @date 2020/05/08 09:23
 */
public interface CacheManagerService extends BasicService<CacheManager> {

    /**
     * 刷新缓存
     * 
     * @author 秦学刚
     * @date 2020/5/8 
     * @return
     **/
    public void refreshCache() throws Exception;


    /**
     * 清除缓存
     *
     * @author 秦学刚
     * @date 2020/5/8
     * @return
     **/
    public void clearCache(CacheManager cacheManager) throws Exception;
}
